/**
 * $Id: SubmitReportCmd.java,v 1.9 2006/07/17 06:00:32 star Exp $
 *
 * Copyright 2006 Skyinfo, Inc. All Rights Reserved.
 */
package com.haoxi.gateway.runner.smscommand;

/**
 * TODO
 * 
 * Revision History
 * 
 * 2006-5-26,star.Zhao,created it
 */
public class SubmitReportCmd extends BaseCommandObj {
    /**
     * 移动产生的，和联通12位生成的 TODO
     */
    private String gatewayCode;
    private String connName;
    private String msgID;
    private String userNumber;
    private int userNumberType;
    private String report;
    private String doneTime;

    private byte[] msgId_bytes;

    /**
     * @return Returns the msgId_bytes.
     */
    public byte[] getMsgId_bytes() {
        return msgId_bytes;
    }

    /**
     * @param msgId_bytes The msgId_bytes to set.
     */
    public void setMsgId_bytes(byte[] msgId_bytes) {
        this.msgId_bytes = msgId_bytes;
    }

    /**
     * @return Returns the doneTime.
     */
    public String getDoneTime() {
        return doneTime;
    }

    /**
     * @param doneTime The doneTime to set.
     */
    public void setDoneTime(String doneTime) {
        this.doneTime = doneTime;
    }

    /**
     * @return Returns the msgID.
     */
    public String getMsgID() {
        return msgID;
    }

    /**
     * @param msgID The msgID to set.
     */
    public void setMsgID(String msgID) {
        this.msgID = msgID;
    }

    /**
     * @return Returns the report.
     */
    public String getReport() {
        return report;
    }

    /**
     * @param report The report to set.
     */
    public void setReport(String report) {
        this.report = report;
    }

    /**
     * @return Returns the userNumber.
     */
    public String getUserNumber() {
        return userNumber;
    }

    /**
     * @param userNumber The userNumber to set.
     */
    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    /**
     * @return Returns the userNumberType.
     */
    public int getUserNumberType() {
        return userNumberType;
    }

    /**
     * @param userNumberType The userNumberType to set.
     */
    public void setUserNumberType(int userNumberType) {
        this.userNumberType = userNumberType;
    }

    /**
     * @return Returns the connName.
     */
    public String getConnName() {
        return connName;
    }

    /**
     * @param connName The connName to set.
     */
    public void setConnName(String connName) {
        this.connName = connName;
    }

    /**
     * @return Returns the gatewayCode.
     */
    public String getGatewayCode() {
        return gatewayCode;
    }

    /**
     * @param gatewayCode The gatewayCode to set.
     */
    public void setGatewayCode(String gatewayCode) {
        this.gatewayCode = gatewayCode;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */
    public String toString() {
        StringBuffer buffer = new StringBuffer("SubmitReportCmd : msgID [")
                .append(this.msgID).append("], gatewayCode [").append(
                        this.gatewayCode).append("], userNumber [").append(
                        this.userNumber).append("], report [").append(
                        this.report).append("], connName [").append(
                                this.connName).append("], sequence [").append(
                                        this.sequence).append("]");
        return buffer.toString();
    }
}
